{include file="file:$theme_global/admin/_header.tpl"}
<a href="/role">&laquo; Cancel and Go Back to Role Management</a>
<h2 id="pagehead">{$pagetitle}</h2>
<form action="/navigation/edit/nav_id/{$nav_id}/role_id/{$role_id}" class="adminform" method="post">
	<fieldset>
		<div>
			<label for="parent_id">Parent Item</label>
			<select name="parent_id" id="parent_id">
				<option value="0">None</option>
				{foreach from=$parent_choices item=parent_choice key=index}
					<option value="{$parent_choice.id}"{if $parent_choice.id eq $parent_id} selected{/if}>{$parent_choice.link_text}</option>
				{/foreach}
			</select>
		</div>
{*
		<div>
			<label for="group">Group</label>
			<select name="group_select" id="group_select">
				<option value=""></option>
				{foreach from=$group_choices item=group_choice key=index}
					<option value="{$group_choice.group}">{$group_choice.group}</option>
				{/foreach}
				<option value="">Create New...</option>
			</select>
			<div style="display: none;">
				<input name="group_text" id="group_text" value="{$group}" />
			</div>
		</div>
*}
		<div>
			<label for="short_name">Short Name</label>
			<input name="short_name" id="short_name" value="{$short_name}" />
		</div>
		<div>
			<label for="link_text">Link Text</label>
			<input name="link_text" id="link_text" value="{$link_text}" />
		</div>
		<div>
			<label for="url">URL</label>
			<input name="url" id="url" value="{$url}" />
		</div>
	</fieldset>
	<input type="hidden" name="nav_id" value="{$nav_id}" />
	<input type="hidden" name="role_id" value="{$role_id}" />
	<div class="submit">
		<button type="submit" class="sbm">Submit</button>
	</div>
</form>
{include file="file:$theme_global/admin/_footer.tpl"}
